package com.weaver.drools.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.Set;


/**
 * The persistent class for the E_AQ_INS_REVIEW_125 database table.
 * 
 */
@Entity
@Table(name="E_AQ_INS_REVIEW_125")
public class EAqInsReview125 implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="E_AQ_INS_REVIEW_125_REVIEWID_GENERATOR",sequenceName="SE_E_AQ_INS_REVIEW_125",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="E_AQ_INS_REVIEW_125_REVIEWID_GENERATOR")
	private Long reviewid;

	private Long datastatusid;

	private Long datatypeid;

	private String deletereason;

	private Long departmentid;

	private Long detailsregistertypeid;

	private String entourage;

	private Long finishhdaccidentsum;

	private Long finishmajorhdaccidentsum;

	private Long foundhdaccidentsum;

	private Long foundmajorhdaccidentsum;

	private String insaddress;

	private Long isdeleted;

	private Long isendnode;

	private Long islaunchinquiry;

	private Long isneedrectification;

	private Long isneedreview;

	private Long isneedtransfer;

	private Long isneedtreatmentmeasure;

	private Long isneedtreatmentmeasuretograve;

	private Long isprint;

	private Long isrecordedrectification;

	private Long isrecordedtmeasuretograve;

	private Long isrecordedtreatmentmeasure;

	private Long istopornotinquiry;

	private Long lastfoundhdaccidentsum;

	private Long lastfoundmajorhdaccidentsum;

	private Long lastunfinishhdaccidentsum;

	private Long lastunfinishmajorhdaccidentsum;

	private Long latestoperateuserid;

	private Long localefinishhdaccidentsum;

	private Long lplanfinishmajorhdaccidentsum;

	private String party;

	private Long planfinishmajorhdaccidentsum;

	private String rectificationed;

	private Long remainunfinishhdaccidentsum;

	private String remark;

	@Temporal(TemporalType.DATE)
	private Date reportdate;

	@Column(name="RESERVED_1")
	private String reserved1;

	@Column(name="RESERVED_2")
	private String reserved2;

	@Column(name="RESERVED_3")
	private String reserved3;

	private String responsibleperson;

	@Temporal(TemporalType.DATE)
	private Date reviewdate;

	private String reviewdetails;

	private String reviewfileurl;

	private Long revieworigintype;

	private Long reviewtransfertype;

	private Long runfinishmajorhdaccidentsum;

	private String signforpeople;

	private Long superviseviewtypeid;

	private String supervisor;

	private Long treatmentmeasuretype;

	private Long unfinishhdaccidentsum;

	private Long unfinishmajorhdaccidentsum;

	private String unrectification;

	private Long userid;

	private Long writid;

	private String writnumber;

	//bi-directional many-to-one association to EAqInsReviewrectify128
	@OneToMany(mappedBy="EAqInsReview125")
	private Set<EAqInsReviewrectify128> EAqInsReviewrectify128s;

	//bi-directional many-to-one association to EAqInsReviewtmeasure423
	@OneToMany(mappedBy="EAqInsReview125")
	private Set<EAqInsReviewtmeasure423> EAqInsReviewtmeasure423s;

	//bi-directional many-to-one association to EAqInsInpectionpandect599
	@ManyToOne
	@JoinColumn(name="INPECTIONPANDECTID")
	private EAqInsInpectionpandect599 EAqInsInpectionpandect599;
	
	public EAqInsReview125() {
	}

	public Long getReviewid() {
		return this.reviewid;
	}

	public void setReviewid(Long reviewid) {
		this.reviewid = reviewid;
	}

	public Long getDatastatusid() {
		return this.datastatusid;
	}

	public void setDatastatusid(Long datastatusid) {
		this.datastatusid = datastatusid;
	}

	public Long getDatatypeid() {
		return this.datatypeid;
	}

	public void setDatatypeid(Long datatypeid) {
		this.datatypeid = datatypeid;
	}

	public String getDeletereason() {
		return this.deletereason;
	}

	public void setDeletereason(String deletereason) {
		this.deletereason = deletereason;
	}

	public Long getDepartmentid() {
		return this.departmentid;
	}

	public void setDepartmentid(Long departmentid) {
		this.departmentid = departmentid;
	}

	public Long getDetailsregistertypeid() {
		return this.detailsregistertypeid;
	}

	public void setDetailsregistertypeid(Long detailsregistertypeid) {
		this.detailsregistertypeid = detailsregistertypeid;
	}

	public String getEntourage() {
		return this.entourage;
	}

	public void setEntourage(String entourage) {
		this.entourage = entourage;
	}

	public Long getFinishhdaccidentsum() {
		return this.finishhdaccidentsum;
	}

	public void setFinishhdaccidentsum(Long finishhdaccidentsum) {
		this.finishhdaccidentsum = finishhdaccidentsum;
	}

	public Long getFinishmajorhdaccidentsum() {
		return this.finishmajorhdaccidentsum;
	}

	public void setFinishmajorhdaccidentsum(Long finishmajorhdaccidentsum) {
		this.finishmajorhdaccidentsum = finishmajorhdaccidentsum;
	}

	public Long getFoundhdaccidentsum() {
		return this.foundhdaccidentsum;
	}

	public void setFoundhdaccidentsum(Long foundhdaccidentsum) {
		this.foundhdaccidentsum = foundhdaccidentsum;
	}

	public Long getFoundmajorhdaccidentsum() {
		return this.foundmajorhdaccidentsum;
	}

	public void setFoundmajorhdaccidentsum(Long foundmajorhdaccidentsum) {
		this.foundmajorhdaccidentsum = foundmajorhdaccidentsum;
	}

	public String getInsaddress() {
		return this.insaddress;
	}

	public void setInsaddress(String insaddress) {
		this.insaddress = insaddress;
	}

	public Long getIsdeleted() {
		return this.isdeleted;
	}

	public void setIsdeleted(Long isdeleted) {
		this.isdeleted = isdeleted;
	}

	public Long getIsendnode() {
		return this.isendnode;
	}

	public void setIsendnode(Long isendnode) {
		this.isendnode = isendnode;
	}

	public Long getIslaunchinquiry() {
		return this.islaunchinquiry;
	}

	public void setIslaunchinquiry(Long islaunchinquiry) {
		this.islaunchinquiry = islaunchinquiry;
	}

	public Long getIsneedrectification() {
		return this.isneedrectification;
	}

	public void setIsneedrectification(Long isneedrectification) {
		this.isneedrectification = isneedrectification;
	}

	public Long getIsneedreview() {
		return this.isneedreview;
	}

	public void setIsneedreview(Long isneedreview) {
		this.isneedreview = isneedreview;
	}

	public Long getIsneedtransfer() {
		return this.isneedtransfer;
	}

	public void setIsneedtransfer(Long isneedtransfer) {
		this.isneedtransfer = isneedtransfer;
	}

	public Long getIsneedtreatmentmeasure() {
		return this.isneedtreatmentmeasure;
	}

	public void setIsneedtreatmentmeasure(Long isneedtreatmentmeasure) {
		this.isneedtreatmentmeasure = isneedtreatmentmeasure;
	}

	public Long getIsneedtreatmentmeasuretograve() {
		return this.isneedtreatmentmeasuretograve;
	}

	public void setIsneedtreatmentmeasuretograve(Long isneedtreatmentmeasuretograve) {
		this.isneedtreatmentmeasuretograve = isneedtreatmentmeasuretograve;
	}

	public Long getIsprint() {
		return this.isprint;
	}

	public void setIsprint(Long isprint) {
		this.isprint = isprint;
	}

	public Long getIsrecordedrectification() {
		return this.isrecordedrectification;
	}

	public void setIsrecordedrectification(Long isrecordedrectification) {
		this.isrecordedrectification = isrecordedrectification;
	}

	public Long getIsrecordedtmeasuretograve() {
		return this.isrecordedtmeasuretograve;
	}

	public void setIsrecordedtmeasuretograve(Long isrecordedtmeasuretograve) {
		this.isrecordedtmeasuretograve = isrecordedtmeasuretograve;
	}

	public Long getIsrecordedtreatmentmeasure() {
		return this.isrecordedtreatmentmeasure;
	}

	public void setIsrecordedtreatmentmeasure(Long isrecordedtreatmentmeasure) {
		this.isrecordedtreatmentmeasure = isrecordedtreatmentmeasure;
	}

	public Long getIstopornotinquiry() {
		return this.istopornotinquiry;
	}

	public void setIstopornotinquiry(Long istopornotinquiry) {
		this.istopornotinquiry = istopornotinquiry;
	}

	public Long getLastfoundhdaccidentsum() {
		return this.lastfoundhdaccidentsum;
	}

	public void setLastfoundhdaccidentsum(Long lastfoundhdaccidentsum) {
		this.lastfoundhdaccidentsum = lastfoundhdaccidentsum;
	}

	public Long getLastfoundmajorhdaccidentsum() {
		return this.lastfoundmajorhdaccidentsum;
	}

	public void setLastfoundmajorhdaccidentsum(Long lastfoundmajorhdaccidentsum) {
		this.lastfoundmajorhdaccidentsum = lastfoundmajorhdaccidentsum;
	}

	public Long getLastunfinishhdaccidentsum() {
		return this.lastunfinishhdaccidentsum;
	}

	public void setLastunfinishhdaccidentsum(Long lastunfinishhdaccidentsum) {
		this.lastunfinishhdaccidentsum = lastunfinishhdaccidentsum;
	}

	public Long getLastunfinishmajorhdaccidentsum() {
		return this.lastunfinishmajorhdaccidentsum;
	}

	public void setLastunfinishmajorhdaccidentsum(Long lastunfinishmajorhdaccidentsum) {
		this.lastunfinishmajorhdaccidentsum = lastunfinishmajorhdaccidentsum;
	}

	public Long getLatestoperateuserid() {
		return this.latestoperateuserid;
	}

	public void setLatestoperateuserid(Long latestoperateuserid) {
		this.latestoperateuserid = latestoperateuserid;
	}

	public Long getLocalefinishhdaccidentsum() {
		return this.localefinishhdaccidentsum;
	}

	public void setLocalefinishhdaccidentsum(Long localefinishhdaccidentsum) {
		this.localefinishhdaccidentsum = localefinishhdaccidentsum;
	}

	public Long getLplanfinishmajorhdaccidentsum() {
		return this.lplanfinishmajorhdaccidentsum;
	}

	public void setLplanfinishmajorhdaccidentsum(Long lplanfinishmajorhdaccidentsum) {
		this.lplanfinishmajorhdaccidentsum = lplanfinishmajorhdaccidentsum;
	}

	public String getParty() {
		return this.party;
	}

	public void setParty(String party) {
		this.party = party;
	}

	public Long getPlanfinishmajorhdaccidentsum() {
		return this.planfinishmajorhdaccidentsum;
	}

	public void setPlanfinishmajorhdaccidentsum(Long planfinishmajorhdaccidentsum) {
		this.planfinishmajorhdaccidentsum = planfinishmajorhdaccidentsum;
	}

	public String getRectificationed() {
		return this.rectificationed;
	}

	public void setRectificationed(String rectificationed) {
		this.rectificationed = rectificationed;
	}

	public Long getRemainunfinishhdaccidentsum() {
		return this.remainunfinishhdaccidentsum;
	}

	public void setRemainunfinishhdaccidentsum(Long remainunfinishhdaccidentsum) {
		this.remainunfinishhdaccidentsum = remainunfinishhdaccidentsum;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getReportdate() {
		return this.reportdate;
	}

	public void setReportdate(Date reportdate) {
		this.reportdate = reportdate;
	}

	public String getReserved1() {
		return this.reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return this.reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return this.reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public String getResponsibleperson() {
		return this.responsibleperson;
	}

	public void setResponsibleperson(String responsibleperson) {
		this.responsibleperson = responsibleperson;
	}

	public Date getReviewdate() {
		return this.reviewdate;
	}

	public void setReviewdate(Date reviewdate) {
		this.reviewdate = reviewdate;
	}

	public String getReviewdetails() {
		return this.reviewdetails;
	}

	public void setReviewdetails(String reviewdetails) {
		this.reviewdetails = reviewdetails;
	}

	public String getReviewfileurl() {
		return this.reviewfileurl;
	}

	public void setReviewfileurl(String reviewfileurl) {
		this.reviewfileurl = reviewfileurl;
	}

	public Long getRevieworigintype() {
		return this.revieworigintype;
	}

	public void setRevieworigintype(Long revieworigintype) {
		this.revieworigintype = revieworigintype;
	}

	public Long getReviewtransfertype() {
		return this.reviewtransfertype;
	}

	public void setReviewtransfertype(Long reviewtransfertype) {
		this.reviewtransfertype = reviewtransfertype;
	}

	public Long getRunfinishmajorhdaccidentsum() {
		return this.runfinishmajorhdaccidentsum;
	}

	public void setRunfinishmajorhdaccidentsum(Long runfinishmajorhdaccidentsum) {
		this.runfinishmajorhdaccidentsum = runfinishmajorhdaccidentsum;
	}

	public String getSignforpeople() {
		return this.signforpeople;
	}

	public void setSignforpeople(String signforpeople) {
		this.signforpeople = signforpeople;
	}

	public Long getSuperviseviewtypeid() {
		return this.superviseviewtypeid;
	}

	public void setSuperviseviewtypeid(Long superviseviewtypeid) {
		this.superviseviewtypeid = superviseviewtypeid;
	}

	public String getSupervisor() {
		return this.supervisor;
	}

	public void setSupervisor(String supervisor) {
		this.supervisor = supervisor;
	}

	public Long getTreatmentmeasuretype() {
		return this.treatmentmeasuretype;
	}

	public void setTreatmentmeasuretype(Long treatmentmeasuretype) {
		this.treatmentmeasuretype = treatmentmeasuretype;
	}

	public Long getUnfinishhdaccidentsum() {
		return this.unfinishhdaccidentsum;
	}

	public void setUnfinishhdaccidentsum(Long unfinishhdaccidentsum) {
		this.unfinishhdaccidentsum = unfinishhdaccidentsum;
	}

	public Long getUnfinishmajorhdaccidentsum() {
		return this.unfinishmajorhdaccidentsum;
	}

	public void setUnfinishmajorhdaccidentsum(Long unfinishmajorhdaccidentsum) {
		this.unfinishmajorhdaccidentsum = unfinishmajorhdaccidentsum;
	}

	public String getUnrectification() {
		return this.unrectification;
	}

	public void setUnrectification(String unrectification) {
		this.unrectification = unrectification;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getWritid() {
		return this.writid;
	}

	public void setWritid(Long writid) {
		this.writid = writid;
	}

	public String getWritnumber() {
		return this.writnumber;
	}

	public void setWritnumber(String writnumber) {
		this.writnumber = writnumber;
	}

	public Set<EAqInsReviewrectify128> getEAqInsReviewrectify128s() {
		return this.EAqInsReviewrectify128s;
	}

	public void setEAqInsReviewrectify128s(Set<EAqInsReviewrectify128> EAqInsReviewrectify128s) {
		this.EAqInsReviewrectify128s = EAqInsReviewrectify128s;
	}

	public EAqInsReviewrectify128 addEAqInsReviewrectify128(EAqInsReviewrectify128 EAqInsReviewrectify128) {
		getEAqInsReviewrectify128s().add(EAqInsReviewrectify128);
		EAqInsReviewrectify128.setEAqInsReview125(this);

		return EAqInsReviewrectify128;
	}

	public EAqInsReviewrectify128 removeEAqInsReviewrectify128(EAqInsReviewrectify128 EAqInsReviewrectify128) {
		getEAqInsReviewrectify128s().remove(EAqInsReviewrectify128);
		EAqInsReviewrectify128.setEAqInsReview125(null);

		return EAqInsReviewrectify128;
	}

	public Set<EAqInsReviewtmeasure423> getEAqInsReviewtmeasure423s() {
		return this.EAqInsReviewtmeasure423s;
	}

	public void setEAqInsReviewtmeasure423s(Set<EAqInsReviewtmeasure423> EAqInsReviewtmeasure423s) {
		this.EAqInsReviewtmeasure423s = EAqInsReviewtmeasure423s;
	}

	public EAqInsReviewtmeasure423 addEAqInsReviewtmeasure423(EAqInsReviewtmeasure423 EAqInsReviewtmeasure423) {
		getEAqInsReviewtmeasure423s().add(EAqInsReviewtmeasure423);
		EAqInsReviewtmeasure423.setEAqInsReview125(this);

		return EAqInsReviewtmeasure423;
	}

	public EAqInsReviewtmeasure423 removeEAqInsReviewtmeasure423(EAqInsReviewtmeasure423 EAqInsReviewtmeasure423) {
		getEAqInsReviewtmeasure423s().remove(EAqInsReviewtmeasure423);
		EAqInsReviewtmeasure423.setEAqInsReview125(null);

		return EAqInsReviewtmeasure423;
	}

	public EAqInsInpectionpandect599 getEAqInsInpectionpandect599() {
		return this.EAqInsInpectionpandect599;
	}

	public void setEAqInsInpectionpandect599(EAqInsInpectionpandect599 EAqInsInpectionpandect599) {
		this.EAqInsInpectionpandect599 = EAqInsInpectionpandect599;
	}

}